import React, { useEffect, useState } from 'react'
import useClientWidth from './useClientWidth'

export default function WidthCom() {
  let width = useClientWidth();
  return (
    <h2>{width}</h2>
  )
}
